That is, they should have no side-effects.
就是说不能有副作用。
In certain ways, placebos are ideal drugs: they typically have no side effects and are essentially free.
从某些方面来看,安慰剂是理想的药物:他们通常没有副作用,而且基本上是免费的。
In FP, functions have no side effects and variables are immutable, while in OOP, mutable state and side effects are common, even encouraged.
在fp里,函数没有副作用,变量都是不易变的。而在OOP中,可变状态和副作用都十分常见,甚至是被鼓励的。
Another side effect if you take too much lithium is death, so that's no good to have in sodas either, and it might not have been as big a deal back in the 1920's, but you can imagine with supersizing today, this might be a bigger problem.
另一个副作用是因为摄入锂过量而死,这更说明在汽水里放这种东西是不好的,这在二十世纪二十年代可能没什么大问题,但你可以想象在如今这个什么都超标的时代,这也许会出更大的问题。
应用推荐